package org.ihelpuoo;

import org.ihelpuoo.algorithm.encrypt.MD5EncryptTest;
import org.ihelpuoo.db.sql.SQLSegmentTest;
import org.ihelpuoo.db.sql.SQLUtilsTest;
import org.ihelpuoo.filepool.FilePoolImplTest;
import org.ihelpuoo.filepool.TempFilePoolImplTest;
import org.ihelpuoo.http.HttpUtilTest;
import org.ihelpuoo.io.FileUtilsTest;
import org.ihelpuoo.io.TextTokenReaderTest;
import org.ihelpuoo.lang.ArrayUtilsTest;
import org.ihelpuoo.lang.BooleanUtilsTest;
import org.ihelpuoo.lang.ListUtilsTest;
import org.ihelpuoo.lang.ObjectUtilsTest;
import org.ihelpuoo.lang.StringUtilsTest;
import org.ihelpuoo.localize.DateTest;
import org.ihelpuoo.localize.LocalizeTest;
import org.ihelpuoo.orm.handler.LoopScopeTest;
import org.ihelpuoo.orm.parser.BeanStringParserTest;
import org.ihelpuoo.parser.segment.CharSegmentFactoryTest;
import org.ihelpuoo.parser.segment.CharSegmentTest;
import org.ihelpuoo.parser.sql.TableFieldsParserTest;
import org.ihelpuoo.util.PairTest;
import org.ihelpuoo.util.PropertiesTest;
import org.ihelpuoo.util.StringTravelerTest;
import org.ihelpuoo.util.exp.BooleanExpressionImplTest;
import org.ihelpuoo.xml.XMLUtilsTest;
import org.ihelpuoo.xml.XMLWriterTest;

import junit.framework.Test;
import junit.framework.TestSuite;

public class QuickTestSuit
{

	public static Test suite()
	{
		TestSuite suite = new TestSuite("Test for org.ihelpuoo");

		/*
		 * For Bean.... 
		 */
		suite.addTest(new TestSuite(MD5EncryptTest.class));

		/*
		 * For Bean.... 
		 */
		suite.addTest(new TestSuite(LoopScopeTest.class));
		suite.addTest(new TestSuite(BeanStringParserTest.class));
		/*
		 * For HTTP
		 */
		suite.addTest(new TestSuite(HttpUtilTest.class));
		/*
		 * For DB
		 */
		suite.addTest(new TestSuite(SQLSegmentTest.class));
		suite.addTest(new TestSuite(SQLUtilsTest.class));
		/*
		 * For IO
		 */
		suite.addTest(new TestSuite(TextTokenReaderTest.class));
		suite.addTest(new TestSuite(FileUtilsTest.class));
		/*
		 * For lang
		 */
		suite.addTest(new TestSuite(ArrayUtilsTest.class));
		suite.addTest(new TestSuite(ObjectUtilsTest.class));
		suite.addTest(new TestSuite(StringUtilsTest.class));
		suite.addTest(new TestSuite(ListUtilsTest.class));
		suite.addTest(new TestSuite(BooleanUtilsTest.class));
		/*
		 * For parser
		 */
		suite.addTest(new TestSuite(CharSegmentTest.class));
		suite.addTest(new TestSuite(CharSegmentFactoryTest.class));
		suite.addTest(new TestSuite(TableFieldsParserTest.class));
		/*
		 * For util
		 */
		suite.addTest(new TestSuite(PairTest.class));
		suite.addTest(new TestSuite(PropertiesTest.class));
		suite.addTest(new TestSuite(StringTravelerTest.class));
		suite.addTest(new TestSuite(BooleanExpressionImplTest.class));
		/*
		 * For localize
		 */
		suite.addTest(new TestSuite(DateTest.class));
		suite.addTest(new TestSuite(LocalizeTest.class));
		/*
		 * For xml
		 */
		suite.addTest(new TestSuite(XMLUtilsTest.class));
		suite.addTest(new TestSuite(XMLWriterTest.class));
		/*
		 * For filepool
		 */
		suite.addTest(new TestSuite(TempFilePoolImplTest.class));
		suite.addTest(new TestSuite(FilePoolImplTest.class));

		return suite;
	}

}
